enhance gpx test to validate gpx writer. (#1191)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Mon, 23 Oct 2023 17:57:37 +0000 (11:57 -0600)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 17:57:37 +0000 (11:57 -0600)
commit1aa1554c03158d42346ae7adf600ede41a382a4f
treed58bb2201b355a58da798634384b07f3ca7c21d2
parent007c0c1ac64daede1df9454335fb9129ef4e7e57
enhance gpx test to validate gpx writer. (#1191)

* enhance gpx test to validate gpx writer.

this reveals our writer producing a schema violation, an exception
is made to avoid testing with this input.  The exception should
be removed when we fix the gpx writer.

* fix write order of gpx elements we just pass through.

* collapse writing of waypoint elements common to wpts, rtepts, trkpts.

* fiddle

* more fiddling
31 files changed:
formspec.h
gpx.cc
gpx.h
reference/basecamp~gpx.gpx
reference/wptsequence.gpx [new file with mode: 0644]
testo.d/gpx.test
testo.d/kml.test
tools/kml22-schema/atom-author-link.xsd [deleted file]
tools/kml22-schema/kml22gx.xsd [deleted file]
tools/kml22-schema/ogckml22.xsd [deleted file]
tools/kml22-schema/xAL.xsd [deleted file]
tools/schema/gpx/fetch [new file with mode: 0755]
tools/schema/gpx/garmin/GpxExtensionsv3.xsd [new file with mode: 0644]
tools/schema/gpx/garmin/GpxExtensionsv3.xsd.1 [new file with mode: 0644]
tools/schema/gpx/garmin/TrackPointExtensionv1.xsd [new file with mode: 0644]
tools/schema/gpx/garmin/TrackPointExtensionv1.xsd.1 [new file with mode: 0644]
tools/schema/gpx/garmin/TrackPointExtensionv2.xsd [new file with mode: 0644]
tools/schema/gpx/garmin/TrackPointExtensionv2.xsd.1 [new file with mode: 0644]
tools/schema/gpx/garmin/TripExtensionsv1.xsd [new file with mode: 0644]
tools/schema/gpx/garmin/TripExtensionsv1.xsd.1 [new file with mode: 0644]
tools/schema/gpx/groundspeak/cache10.xsd [new file with mode: 0644]
tools/schema/gpx/groundspeak/cache101.xsd [new file with mode: 0644]
tools/schema/gpx/groundspeak/cache11.xsd [new file with mode: 0644]
tools/schema/gpx/groundspeak/cache12.xsd [new file with mode: 0644]
tools/schema/gpx/master.xsd [new file with mode: 0644]
tools/schema/gpx/topografix/gpx10.xsd [new file with mode: 0644]
tools/schema/gpx/topografix/gpx11.xsd [new file with mode: 0644]
tools/schema/kml/atom-author-link.xsd [new file with mode: 0644]
tools/schema/kml/kml22gx.xsd [new file with mode: 0644]
tools/schema/kml/ogckml22.xsd [new file with mode: 0644]
tools/schema/kml/xAL.xsd [new file with mode: 0644]